package com.feiyu.buyer.service;

import com.feiyu.buyer.dto.selectBuyerDto;
import com.feiyu.buyer.dto.updateBuyerDto;
import com.feiyu.buyer.entity.BuyerEntity;

import java.util.List;
import java.util.Map;

/**
 * @Author: Doate
 * @Date: Created in 2021/4/16 3:34
 * @Description:
 */


public interface BuyerService {
    public Map<String, Object> getInfo(int userId);
    public boolean updateInfo(updateBuyerDto dto);

    public Map<String, Object> searchByParam(selectBuyerDto dto);
    public BuyerEntity searchById(int buyerId);
}
